package org.lease.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.lease.model.dto.SystemUserItemDTO;
import org.lease.model.entity.SystemUser;
import org.lease.model.query.SystemUserPageQuery;

public interface SystemUserService extends IService<SystemUser> {

    SystemUser getByUsername(String username);

    IPage<SystemUserItemDTO> pageQuery(SystemUserPageQuery query);

    boolean isUserNameAvailable(String username);
}
